﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Server.BasicsDatumServer.WarehouseManagementService.Dto;
using SmartWMS.Server.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.WarehouseManagementService
{
    /// <summary>
    /// 仓库管理接口
    /// </summary>
    public interface IWarehouseManagementService : ITransientServer
    {
        Task<(int pageCount, int totalCount, Response<List<WarehouseDto>> data)> GetWarehouseManagermentDtoAsync(SearchDto dto);

        Task<Response<List<WarehouseDto>>> Get();

        Task<Response<bool>> AddWarehouseManagerment(WarehouseDto info);

        Response<WarehouseDto> FilWarehouseDto(int id);

		Task<Response<bool>> UpdWarehouseManagerment(WarehouseDto info);

        Task<Response<bool>> DelWarehouseManagerment(WarehouseDto info);

        Task<Response<bool>> BatchDelWarehouseManagerment(WarehouseDto dto);
	}
}
